import request from '@/utils/request'

// 查询用于存储与一级相关的操作符和字段信息列表
export function variableList(query) {
  return request({
    url: '/conf/BiCalculatorOperations/variableList',
    method: 'get',
    params: query
  })
}
// 查询用于存储与一级相关的操作符和字段信息列表
export function listBiCalculatorOperations(query) {
  return request({
    url: '/conf/BiCalculatorOperations/list',
    method: 'get',
    params: query
  })
}
// 查询用于存储与一级相关的操作符和字段信息详细
export function getBiCalculatorOperations(id) {
  return request({
    url: '/conf/BiCalculatorOperations/' + id,
    method: 'get'
  })
}

// 新增用于存储与一级相关的操作符和字段信息
export function addBiCalculatorOperations(data) {
  return request({
    url: '/conf/BiCalculatorOperations',
    method: 'post',
    data: data
  })
}

// 修改用于存储与一级相关的操作符和字段信息
export function updateBiCalculatorOperations(data) {
  return request({
    url: '/conf/BiCalculatorOperations',
    method: 'put',
    data: data
  })
}

// 删除用于存储与一级相关的操作符和字段信息
export function delBiCalculatorOperations(id) {
  return request({
    url: '/conf/BiCalculatorOperations/' + id,
    method: 'delete'
  })
}
